Method to remove the query param with the given name.