Iran has legal right to exit NPT after US strikes, MP says