Compiler [Typechecker]: Restructure binary operations of function types. Also fixes the result of PT_BINOP_AND on function types.