Quantum phases of attractive bosons on a Bose-Hubbard ladder with three-body constraint