Peru captain Guerrero cleared to play at World Cup after court ruling