British soldier who killed Afghan fighter freed from jail