Theresa May has caused controversy by saying she is willing to change human rights law to allow her to deport terrorists and terrorism suspects.