You click on the companion and select "talk to ". A choice wheel will come up. Select heal (I think it is on the right lower quadrant of the wheel). It should show # of stimpaks and the health of the character.
Edit: Sorry. Reread your question and it looks like you already did this.
When Boone limps I just heal him normally and he comes back to standing straight.