Labour’s majority cut on terror