Previous govt celebrated when UP was burning due to riots: PM