A "problematic" assessment of MP Sir David Amess's killer led to "questionable decision-making" and the "suboptimal" handling of his Prevent case, a review has found.