New York City mayor says would take Trump to court on federal troops