Govt has failed to tackle terror: BJP