Athletic Bilbao have reached an agreement to re-sign midfielder Benat Etxebarria from Real Betis on a five-year contract for an undisclosed fee.