Fixes: #10784 When AWS was passed an AWS policy with a single statement, it normalized it to a slice of statement. This was causing issues for Terraform when it was trying to reapply changes
This fixes a bug in the upstream library where different casing of `effect` was not treated as equivalent.