Ike lashes Cuba, weakens to Category 2 hurricane