Fix inclusive_scan's general signature & eliminate innermost namespace