The New York City comptroller’s office, which first noticed the missing money, said that the Federal Emergency Management Agency had unilaterally taken the funds from the city’s accounts.