Terrorists should not be forced to serve their full sentences in prison, Jeremy Corbyn has said, after a jihadi was released early to kill two people in the London Bridge terror attack.