Judge refuses to toss Perry case on constitutional grounds