Lawyers say decision ignored due process and will be contested after member states voted to dismiss prosecutor over misconduct allegations