Kings stun Melbourne late in 1st NBL semi