Judge blocks parts of Trump’s overhaul of US elections, including proof-of-citizenship requirement