US judge rules JP Morgan’s collateral requests to Lehman Brothers in its dying days were mostly okay