cmd/gc: update ideal bool rules to match latest spec

Fixes issue 3915.
Fixes issue 3923.

R=ken2
CC=golang-dev
https://codereview.appspot.com/7281044