Whenever an active or retired policeman shall die as aforesaid, the board of trustees may appropriate from the fund, a sum not exceeding three hundred dollars to his widow or legal heirs for funeral expenses.