Former US president Donald Trump to fly to New York to face criminal charges