Gupta-Bleuler formalism with scalar fermions in massless Yang-Mills theory