Ali Harbi Ali told court he stabbed MP David Amess in revenge for his voting in support of airstrikes in Syria; judge says murder struck 'at heart of democracy'