New York bankruptcy judge throws foreclosure bank out of court