A New York state judge on Friday rejected a bid by Orrick Herrington & Sutcliffe LLP and Cleary Gottlieb Steen & Hamilton LLP to escape a $310 million malpractice lawsuit over an alleged typo in a deal to buy $2.4 billion worth of wind and solar energy facilities.