New York subway shooter pleads guilty to terrorism charges