Mary Wambui appointment to top gov’t job was ‘irregular’, court rules