Set B is not computable.

Proof. B is nontrivial because some programs satisfy the required property for membership in B, and some do not.

B respects equivalence. Suppose that p and q are two equivalent programs.

pB φp(1)↓ and φp(2)↓ and φp(1) = φp(2)
φq(1)↓ and φq(2)↓ and φq(1) = φq(2) (since pq)
qB

By Rice's theorem, B is uncomputable.