Manhattan judges say Donald Trump’s pick can continue as US attorney for Southern District of New York