In an abrupt backtrack, Mayor Eric Adams’ administration in recent days has exempted most of New York City’s residential buildings from being fined for violating the composting law, which mandates that food scraps and yard waste be separated from the rest of the trash.