Thailand premier off the hook in army residence case