Boolean Closure of Polynomial Time