The UK government has abandoned plans to create a working definition of Islamophobia in a move which has come under heavy fire from critics.