Priti Patel 'did not breach ministerial code'