Hawaii refinery to close, become terminal