Exact solution of the Izergin-Korepin model with general non-diagonal boundary terms