Polish oil company writes down entire value of Libya investment