The removal of the flag from the Manhattan monument, the symbolic heart of the gay rights movement, came after a Trump administration directive about flags at national park sites.