Quantum reduced loop gravity: Extension to scalar fields