Stronger action must be taken to stop killers who become obsessed with violence while viewing extreme content online, the Home Secretary has said.