Tyler Wright resigns with Rip Curl