Socialist leader urges Macron to give towns discretion over flag, after interior minister tells communities to take it down for sake of neutrality