Sajid Javid challenged his rivals to agree to an external investigation into alleged Islamophobia in the Conservative Party.