UP failed to check riots, says Centre