Expandable intramedullary device for treatment of fractures in the hand