Fix symbolic shape and dtype resolution for binary bitwise and shift operations with scalar inputs (#23429)