DC’s attorney general says Trump’s police takeover is illegal and will ‘wreak operational havoc’ in the capital