Ofcom will lose competition enforcement powers