Spy chiefs helped Trump to draft surveillance program support tweet