Ed Miliband’s plans to reduce union influence over leadership contests