Convicted murderer and ‘Islamist fanatic’ gets thousands in legal aid to argue about his anxiety