I would do two things:
1. Re-enable your logging statements to see what is happening.
2. Modify your redirect to include the port:
HTTP::respond 302 Location "https://[HTTP::host]:9089[HTTP::uri]" .
After you've done this, does it work if you go to HTTPS directly? I have to assume that your HTTP-to-HTTPS redirect won't work because you have a client SSL profile applied to the VIP. Having HTTP and HTTPS work on the same VIP with the same port is challenging, but there are ways around this. Lets start with basic functionality first and work from there. I would also remove the iRule for now and just make sure the HTTPS VIP is working.